<?php
/**
 * @author GhostWei
 * @date Oct 27, 2012
 */
class oauth_request_sina extends oauth_api_request {
	
	public function init() {
		$this->_name = 'sina';
		$this->_params['access_token'] = $this->getOauth()->getAccessToken();
		$this->_url[parent::PUBLIC_TWEET_LIST] = 'https://api.weibo.com/2/statuses/public_timeline.json';
		$this->_url[parent::USER_LINE] = 'https://api.weibo.com/2/users/show.json';
		$this->_url[parent::USER_TWEET_LIST] = 'https://api.weibo.com/2/statuses/user_timeline.json';
		$this->_url[parent::TWEET_LINE] = 'https://api.weibo.com/2/statuses/show.json';
		$this->_url[parent::HOT_TOPIC_LIST] = 'https://api.weibo.com/2/trends/weekly.json';
		
		$this->_flips = array('limit' => 'count', 'name' => 'screen_name');
	}

	
	
	
}
